package org.jeecg.modules.flow.vo;

import java.util.List;

public class Page<T> implements IPage<T> {
    List<T> records;
    long total;

    public Page(List<T> records, long total) {
        this.records = records;
        this.total = total;
    }

    @Override
    public long getTotal() {
        return total;
    }

    @Override
    public List<T> getRecords() {
        return records;
    }
}
